package com.learn.redis;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@EnableScheduling
@MapperScan(basePackages = {"com.learn.redis.mapper"})
@ComponentScan(basePackages = {"com.learn.redis" , "com.xcdh.commons.spring" })
public class XcdhLearnRedisApplication {

    public static void main(String[] args) {
        SpringApplication.run(XcdhLearnRedisApplication.class, args);
    }

}
